<form name="editForm" role="form" novalidate ng-submit="vm.save()">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                ng-click="vm.clear()">&times;</button>
        <h4 class="modal-title" data-translate="entity.action.edit">Confirm edit operation</h4>
    </div>
    <div class="modal-body">
        <div class="form-group">
            <label class="control-label" data-translate="milkbeeApp.card.recommendTitle" for="field_recommend_title">recommendTitle</label>
            <input type="text" class="form-control" name="recommendTitle" id="field_recommend_title"
                    ng-model="vm.card.recommendTitle" ng-minlength="10" required
                     />
                     
            <div ng-show="editForm.recommendTitle.$invalid">
                <p class="help-block"
                    ng-show="true" data-translate="entity.validation.minlength" translate-value-min="10">
                    This field is required.
                </p>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal" ng-click="vm.clear()">
            <span class="glyphicon glyphicon-ban-circle"></span>&nbsp;<span data-translate="entity.action.cancel">Cancel</span>
        </button>
        <button type="submit" id="submitBtn" class="btn btn-primary">
            <span class="glyphicon glyphicon-save"></span>&nbsp;<span data-translate="entity.action.save">Save</span>
        </button>
    </div>
</form>
